[SOLVED] SSH Service Failed to Start / Networking, Server, and Protection / Arch Linux Forums

您所在的位置:网站首页 manjaro sshd [SOLVED] SSH Service Failed to Start / Networking, Server, and Protection / Arch Linux Forums

[SOLVED] SSH Service Failed to Start / Networking, Server, and Protection / Arch Linux Forums

2023-09-07 15:32| 来源: 网络整理| 查看: 265

Hello Everyone ! During my startup last week my notebook was failed to start the sshd.service .While looking with systemctl I have been able to find the following content:

● sshd.service - OpenSSH Daemon Loaded: loaded (/usr/lib/systemd/system/sshd.service; enabled; vendor preset: disabled) Active: failed (Result: exit-code) since Thu 2017-06-29 14:14:12 -03; 1s ago Process: 4461 ExecStart=/usr/bin/sshd -D (code=exited, status=255) Main PID: 4461 (code=exited, status=255) Jun 29 14:14:12 Arch systemd[1]: sshd.service: Failed with result 'exit-code'. Jun 29 14:14:12 Arch systemd[1]: sshd.service: Service hold-off time over, scheduling restart. Jun 29 14:14:12 Arch systemd[1]: Stopped OpenSSH Daemon. Jun 29 14:14:12 Arch systemd[1]: sshd.service: Start request repeated too quickly. Jun 29 14:14:12 Arch systemd[1]: Failed to start OpenSSH Daemon. Jun 29 14:14:12 Arch systemd[1]: sshd.service: Unit entered failed state. Jun 29 14:14:12 Arch systemd[1]: sshd.service: Failed with result 'exit-code'.

I have found on some old related topics that I could disable the sshd.service and enable the sshd.socket to solve the error. Well this is a solution for the error but the problem is that I use several VM's that connect's to my Arch Host with SSH.The error produced when I try to connect with the failed sshd.service is :

ssh: connect to host 192.168.236.1 port 22: Connection refused

When I change to the sshd.socket I got this error instead:

ssh_exchange_identification: read: Connection reset by peer

The file located in /etc/ssh/sshd_config have only the port parameter uncomment.

I have edited the socket like required in the ArchWiki with systemctl and added the following parameters :

[Socket] ListenStream= ListenStream=22

Unfortunately it did not work.

Any ideas on what can I do?Thank you ! Best Regards.

Last edited by gpetruff (2017-06-29 22:31:16)



【本文地址】


今日新闻


推荐新闻


CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3